<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>FlexCore Pilates | 随时随地唤醒核心力量</title>
    <style>
        :root {
            --primary: #20c997;
            --primary-light: #d1f7eb;
            --dark: #343a40;
            --gray: #6c757d;
            --light: #f8f9fa;
            --white: #ffffff;
            --danger: #dc3545;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }

        body {
            background-color: var(--light);
            color: var(--dark);
            padding-bottom: 60px;
        }

        .container {
            padding: 15px;
            max-width: 500px;
            margin: 0 auto;
        }

        /* 顶部导航 */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background-color: var(--white);
            padding: 10px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            z-index: 100;
        }

        .logo {
            font-weight: 700;
            font-size: 20px;
            color: var(--primary);
        }

        .logo span {
            color: var(--dark);
        }

        .header-icons {
            display: flex;
            gap: 15px;
        }

        .header-icons i {
            font-size: 20px;
            color: var(--gray);
        }

        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--white);
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
            z-index: 100;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--gray);
            font-size: 12px;
        }

        .nav-item.active {
            color: var(--primary);
        }

        .nav-item i {
            font-size: 20px;
            margin-bottom: 3px;
        }

        /* 轮播图 */
        .banner {
            margin-top: 60px;
            border-radius: 10px;
            overflow: hidden;
            height: 160px;
            position: relative;
        }

        .banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .banner-dots {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 5px;
        }

        .banner-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.5);
        }

        .banner-dot.active {
            background-color: var(--white);
        }

        /* 快速入口 */
        .quick-actions {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin: 20px 0;
        }

        .quick-action {
            background-color: var(--white);
            border-radius: 10px;
            padding: 15px 5px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .quick-action i {
            font-size: 24px;
            color: var(--primary);
            margin-bottom: 5px;
        }

        .quick-action span {
            font-size: 12px;
            color: var(--gray);
        }

        /* 课程卡片 */
        .section-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 25px 0 15px;
        }

        .section-title h2 {
            font-size: 18px;
            font-weight: 600;
        }

        .section-title a {
            font-size: 14px;
            color: var(--primary);
            text-decoration: none;
        }

        .course-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .course-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .course-image {
            height: 100px;
            position: relative;
        }

        .course-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .course-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background-color: var(--primary);
            color: var(--white);
            font-size: 10px;
            padding: 3px 8px;
            border-radius: 10px;
        }

        .course-info {
            padding: 10px;
        }

        .course-info h3 {
            font-size: 14px;
            margin-bottom: 5px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .course-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--gray);
            margin-top: 8px;
        }

        .course-meta span {
            display: flex;
            align-items: center;
        }

        .course-meta i {
            margin-right: 3px;
            font-size: 14px;
        }

        /* 直播卡片 */
        .live-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .live-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            background-color: var(--primary-light);
        }

        .live-time {
            font-size: 14px;
            font-weight: 600;
        }

        .live-status {
            background-color: var(--danger);
            color: var(--white);
            font-size: 12px;
            padding: 3px 8px;
            border-radius: 10px;
        }

        .live-body {
            display: flex;
            padding: 12px;
        }

        .live-coach {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 12px;
        }

        .live-coach img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .live-info {
            flex: 1;
        }

        .live-info h3 {
            font-size: 16px;
            margin-bottom: 5px;
        }

        .live-info p {
            font-size: 12px;
            color: var(--gray);
            margin-bottom: 8px;
        }

        .live-stats {
            display: flex;
            font-size: 12px;
            color: var(--gray);
        }

        .live-stats span {
            margin-right: 15px;
            display: flex;
            align-items: center;
        }

        .live-stats i {
            margin-right: 3px;
            font-size: 14px;
        }

        .live-footer {
            display: flex;
            justify-content: space-between;
            padding: 12px;
            border-top: 1px solid #eee;
        }

        .live-price {
            font-weight: 600;
            color: var(--primary);
        }

        .btn {
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background-color: var(--primary);
            color: var(--white);
        }

        .btn-outline {
            background-color: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
        }

        /* 个人中心 */
        .profile-header {
            background-color: var(--white);
            padding: 20px;
            border-radius: 10px;
            margin-top: 60px;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .profile-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
        }

        .profile-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-info h2 {
            font-size: 18px;
            margin-bottom: 5px;
        }

        .profile-info p {
            font-size: 14px;
            color: var(--gray);
            margin-bottom: 10px;
        }

        .profile-vip {
            background-color: #fff9e6;
            color: #ffc107;
            font-size: 12px;
            padding: 3px 8px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
        }

        .profile-vip i {
            margin-right: 3px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin: 20px 0;
        }

        .stat-card {
            background-color: var(--white);
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .stat-card h3 {
            font-size: 20px;
            color: var(--primary);
            margin-bottom: 5px;
        }

        .stat-card p {
            font-size: 12px;
            color: var(--gray);
        }

        .menu-list {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .menu-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }

        .menu-item:last-child {
            border-bottom: none;
        }

        .menu-item-left {
            display: flex;
            align-items: center;
        }

        .menu-item i {
            font-size: 20px;
            color: var(--primary);
            margin-right: 12px;
            width: 24px;
            text-align: center;
        }

        .menu-item span {
            font-size: 15px;
        }

        .menu-item-right {
            color: var(--gray);
        }

        /* 课程详情 */
        .course-detail-header {
            position: relative;
            height: 200px;
            margin-top: 60px;
        }

        .course-detail-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .course-detail-back {
            position: absolute;
            top: 15px;
            left: 15px;
            background-color: rgba(0,0,0,0.5);
            color: var(--white);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .course-detail-body {
            background-color: var(--white);
            border-radius: 15px 15px 0 0;
            margin-top: -20px;
            position: relative;
            z-index: 2;
            padding: 20px;
        }

        .course-detail-title {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .course-detail-title h1 {
            font-size: 20px;
            font-weight: 600;
        }

        .course-detail-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }

        .course-detail-meta span {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: var(--gray);
        }

        .course-detail-meta i {
            margin-right: 5px;
            font-size: 16px;
        }

        .course-detail-coach {
            display: flex;
            align-items: center;
            margin: 20px 0;
            padding: 15px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }

        .course-detail-coach img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 12px;
        }

        .course-detail-coach h3 {
            font-size: 16px;
            margin-bottom: 3px;
        }

        .course-detail-coach p {
            font-size: 12px;
            color: var(--gray);
        }

        .course-detail-desc {
            margin-bottom: 20px;
        }

        .course-detail-desc h2 {
            font-size: 16px;
            margin-bottom: 10px;
        }

        .course-detail-desc p {
            font-size: 14px;
            line-height: 1.6;
            color: var(--gray);
        }

        .course-detail-action {
            position: fixed;
            bottom: 60px;
            left: 0;
            right: 0;
            background-color: var(--white);
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        }

        .course-detail-price {
            font-size: 18px;
            font-weight: 600;
            color: var(--primary);
        }

        /* 隐藏页面 */
        .page {
            display: none;
        }

        .page.active {
            display: block;
        }
    </style>
    <!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">-->
    <link rel="stylesheet" href="../fontawesome-free-6.7.2-web/css/all.min.css">
</head>
<body>
<!-- 顶部导航 -->
<div class="header">
    <div class="logo">Flex<span>Core</span></div>
    <div class="header-icons">
        <i class="fas fa-search"></i>
        <i class="fas fa-bell"></i>
    </div>
</div>

<!-- 首页 -->
<div class="page active" id="home">
    <div class="container">
        <!-- 轮播图 -->
        <div class="banner">
            <img src="https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
            <div class="banner-dots">
                <div class="banner-dot active"></div>
                <div class="banner-dot"></div>
                <div class="banner-dot"></div>
            </div>
        </div>

        <!-- 快速入口 -->
        <div class="quick-actions">
            <div class="quick-action">
                <i class="fas fa-user-graduate"></i>
                <span>新手入门</span>
            </div>
            <div class="quick-action">
                <i class="fas fa-fire"></i>
                <span>进阶训练</span>
            </div>
            <div class="quick-action">
                <i class="fas fa-baby"></i>
                <span>产后修复</span>
            </div>
            <div class="quick-action">
                <i class="fas fa-calendar-alt"></i>
                <span>训练计划</span>
            </div>
        </div>

        <!-- 推荐课程 -->
        <div class="section-title">
            <h2>为你推荐</h2>
            <a href="#">更多</a>
        </div>

        <div class="course-list">
            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1545205597-3d9d02c29597?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">初级</div>
                </div>
                <div class="course-info">
                    <h3>10分钟晨间唤醒</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 80kcal</span>
                        <span><i class="fas fa-clock"></i> 10min</span>
                    </div>
                </div>
            </div>

            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">中级</div>
                </div>
                <div class="course-info">
                    <h3>核心强化训练</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 120kcal</span>
                        <span><i class="fas fa-clock"></i> 20min</span>
                    </div>
                </div>
            </div>

            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1538805060514-97d67c7f1b60?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">高级</div>
                </div>
                <div class="course-info">
                    <h3>全身塑形进阶</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 150kcal</span>
                        <span><i class="fas fa-clock"></i> 30min</span>
                    </div>
                </div>
            </div>

            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1545389336-cf090694435e?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">初级</div>
                </div>
                <div class="course-info">
                    <h3>睡前放松拉伸</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 60kcal</span>
                        <span><i class="fas fa-clock"></i> 15min</span>
                    </div>
                </div>
            </div>
        </div>

        <!-- 直播课程 -->
        <div class="section-title">
            <h2>今日直播</h2>
            <a href="#">更多</a>
        </div>

        <div class="live-card">
            <div class="live-header">
                <div class="live-time">今天 19:30-20:30</div>
                <div class="live-status">直播中</div>
            </div>
            <div class="live-body">
                <div class="live-coach">
                    <img src="https://images.unsplash.com/photo-1573496359142-b8d87734a5cd?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="教练">
                </div>
                <div class="live-info">
                    <h3>普拉提球核心训练</h3>
                    <p>Lisa教练 | 国际普拉提认证导师</p>
                    <div class="live-stats">
                        <span><i class="fas fa-users"></i> 256人参加</span>
                        <span><i class="fas fa-star"></i> 4.9分</span>
                    </div>
                </div>
            </div>
            <div class="live-footer">
                <div class="live-price">¥29.9</div>
                <button class="btn btn-primary">立即加入</button>
            </div>
        </div>
    </div>
</div>

<!-- 课程中心 -->
<div class="page" id="courses">
    <div class="container">
        <div class="section-title">
            <h2>全部课程</h2>
            <div class="filter">
                <i class="fas fa-sliders-h"></i>
            </div>
        </div>

        <div class="course-list">
            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">初级</div>
                </div>
                <div class="course-info">
                    <h3>基础呼吸训练</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 50kcal</span>
                        <span><i class="fas fa-clock"></i> 8min</span>
                    </div>
                </div>
            </div>

            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1545205597-3d9d02c29597?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">初级</div>
                </div>
                <div class="course-info">
                    <h3>晨间唤醒序列</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 80kcal</span>
                        <span><i class="fas fa-clock"></i> 10min</span>
                    </div>
                </div>
            </div>

            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">中级</div>
                </div>
                <div class="course-info">
                    <h3>核心强化训练</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 120kcal</span>
                        <span><i class="fas fa-clock"></i> 20min</span>
                    </div>
                </div>
            </div>

            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1538805060514-97d67c7f1b60?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">高级</div>
                </div>
                <div class="course-info">
                    <h3>全身塑形进阶</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 150kcal</span>
                        <span><i class="fas fa-clock"></i> 30min</span>
                    </div>
                </div>
            </div>

            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1545389336-cf090694435e?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">初级</div>
                </div>
                <div class="course-info">
                    <h3>睡前放松拉伸</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 60kcal</span>
                        <span><i class="fas fa-clock"></i> 15min</span>
                    </div>
                </div>
            </div>

            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1571019614242-c9559590d79c?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">中级</div>
                </div>
                <div class="course-info">
                    <h3>弹力带臀部训练</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-fire"></i> 100kcal</span>
                        <span><i class="fas fa-clock"></i> 18min</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 直播中心 -->
<div class="page" id="live">
    <div class="container">
        <div class="section-title">
            <h2>直播课程</h2>
            <a href="#">课程表</a>
        </div>

        <div class="live-card">
            <div class="live-header">
                <div class="live-time">今天 19:30-20:30</div>
                <div class="live-status">直播中</div>
            </div>
            <div class="live-body">
                <div class="live-coach">
                    <img src="https://images.unsplash.com/photo-1573496359142-b8d87734a5cd?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="教练">
                </div>
                <div class="live-info">
                    <h3>普拉提球核心训练</h3>
                    <p>Lisa教练 | 国际普拉提认证导师</p>
                    <div class="live-stats">
                        <span><i class="fas fa-users"></i> 256人参加</span>
                        <span><i class="fas fa-star"></i> 4.9分</span>
                    </div>
                </div>
            </div>
            <div class="live-footer">
                <div class="live-price">¥29.9</div>
                <button class="btn btn-primary">立即加入</button>
            </div>
        </div>

        <div class="live-card">
            <div class="live-header">
                <div class="live-time">明天 09:00-10:00</div>
                <div class="live-status">预约中</div>
            </div>
            <div class="live-body">
                <div class="live-coach">
                    <img src="https://images.unsplash.com/photo-1560253023-3ec5d502959f?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="教练">
                </div>
                <div class="live-info">
                    <h3>晨间脊柱唤醒</h3>
                    <p>Mike教练 | 10年教学经验</p>
                    <div class="live-stats">
                        <span><i class="fas fa-users"></i> 128人预约</span>
                        <span><i class="fas fa-star"></i> 4.8分</span>
                    </div>
                </div>
            </div>
            <div class="live-footer">
                <div class="live-price">¥19.9</div>
                <button class="btn btn-outline">预约课程</button>
            </div>
        </div>

        <div class="live-card">
            <div class="live-header">
                <div class="live-time">后天 20:00-21:00</div>
                <div class="live-status">预约中</div>
            </div>
            <div class="live-body">
                <div class="live-coach">
                    <img src="https://images.unsplash.com/photo-1545165375-178e11e37229?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="教练">
                </div>
                <div class="live-info">
                    <h3>产后修复专项</h3>
                    <p>Anna教练 | 孕产康复专家</p>
                    <div class="live-stats">
                        <span><i class="fas fa-users"></i> 89人预约</span>
                        <span><i class="fas fa-star"></i> 4.9分</span>
                    </div>
                </div>
            </div>
            <div class="live-footer">
                <div class="live-price">¥39.9</div>
                <button class="btn btn-outline">预约课程</button>
            </div>
        </div>
    </div>
</div>

<!-- 个人中心 -->
<div class="page" id="profile">
    <div class="container">
        <div class="profile-header">
            <div class="profile-avatar">
                <img src="https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="用户头像">
            </div>
            <div class="profile-info">
                <h2>张小美</h2>
                <p>加入时间: 2023年5月</p>
                <div class="profile-vip">
                    <i class="fas fa-crown"></i>
                    <span>VIP会员</span>
                </div>
            </div>
        </div>

        <div class="stats-grid">
            <div class="stat-card">
                <h3>28</h3>
                <p>训练天数</p>
            </div>
            <div class="stat-card">
                <h3>1,250</h3>
                <p>消耗卡路里</p>
            </div>
            <div class="stat-card">
                <h3>12</h3>
                <p>完成课程</p>
            </div>
        </div>

        <div class="section-title">
            <h2>我的课程</h2>
            <a href="#">全部</a>
        </div>

        <div class="course-list">
            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1545205597-3d9d02c29597?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">初级</div>
                </div>
                <div class="course-info">
                    <h3>晨间唤醒序列</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-check-circle"></i> 已完成</span>
                    </div>
                </div>
            </div>

            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="普拉提课程">
                    <div class="course-badge">中级</div>
                </div>
                <div class="course-info">
                    <h3>核心强化训练</h3>
                    <div class="course-meta">
                        <span><i class="fas fa-spinner"></i> 进行中</span>
                    </div>
                </div>
            </div>
        </div>

        <div class="menu-list">
            <div class="menu-item">
                <div class="menu-item-left">
                    <i class="fas fa-heart"></i>
                    <span>我的收藏</span>
                </div>
                <div class="menu-item-right">
                    <i class="fas fa-chevron-right"></i>
                </div>
            </div>
            <div class="menu-item">
                <div class="menu-item-left">
                    <i class="fas fa-history"></i>
                    <span>训练记录</span>
                </div>
                <div class="menu-item-right">
                    <i class="fas fa-chevron-right"></i>
                </div>
            </div>
            <div class="menu-item">
                <div class="menu-item-left">
                    <i class="fas fa-trophy"></i>
                    <span>成就勋章</span>
                </div>
                <div class="menu-item-right">
                    <i class="fas fa-chevron-right"></i>
                </div>
            </div>
            <div class="menu-item">
                <div class="menu-item-left">
                    <i class="fas fa-cog"></i>
                    <span>设置</span>
                </div>
                <div class="menu-item-right">
                    <i class="fas fa-chevron-right"></i>
                </div>
            </div>
        </div>
    </div>
</div>

<!--
 课程详情
<div class="page" id="course-detail">
    <div class="course-detail-header">
        <img src="https://images.unsplash.com/photo-1538805060514-97d67c7f1b60?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="课程封面">
        <div class="course-detail-back">
            <i class="fas fa-->
<!-- 课程详情 -->
<div class="page" id="course-detail">
    <div class="course-detail-header">
        <img src="https://images.unsplash.com/photo-1538805060514-97d67c7f1b60?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="课程封面">
        <div class="course-detail-back" onclick="switchPage('home')">
            <i class="fas fa-arrow-left"></i>
        </div>
    </div>

    <div class="course-detail-body">
        <div class="course-detail-title">
            <h1>全身塑形进阶</h1>
            <i class="fas fa-bookmark"></i>
        </div>

        <div class="course-detail-meta">
            <span><i class="fas fa-tag"></i> 高级</span>
            <span><i class="fas fa-fire"></i> 150kcal</span>
            <span><i class="fas fa-clock"></i> 30分钟</span>
        </div>

        <div class="course-detail-coach">
            <img src="https://images.unsplash.com/photo-1560253023-3ec5d502959f?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="教练头像">
            <div>
                <h3>Mike教练</h3>
                <p>国际普拉提认证导师 | 10年教学经验</p>
            </div>
        </div>

        <div class="course-detail-desc">
            <h2>课程介绍</h2>
            <p>这是一套针对有一定普拉提基础学员设计的全身塑形课程，通过进阶动作组合，全面提升核心力量、身体协调性和肌肉耐力。课程包含30分钟高强度训练，适合想要突破平台期的学员。</p>
        </div>

        <div class="course-detail-desc">
            <h2>课程内容</h2>
            <p>1. 热身激活 (5分钟)<br>
                2. 核心强化序列 (10分钟)<br>
                3. 全身整合训练 (10分钟)<br>
                4. 放松拉伸 (5分钟)</p>
        </div>

        <div class="course-detail-desc">
            <h2>所需器材</h2>
            <p>瑜伽垫、普拉提圈(可选)、小毛巾、水</p>
        </div>
    </div>

    <div class="course-detail-action">
        <div class="course-detail-price">¥39.9</div>
        <button class="btn btn-primary">立即购买</button>
    </div>
</div>
<!-- 底部导航 -->
<div class="bottom-nav">
    <div class="nav-item active" data-target="home">
        <i class="fas fa-home"></i>
        <span>首页</span>
    </div>
    <div class="nav-item" data-target="courses">
        <i class="fas fa-dumbbell"></i>
        <span>课程</span>
    </div>
    <div class="nav-item" data-target="live">
        <i class="fas fa-video"></i>
        <span>直播</span>
    </div>
    <div class="nav-item" data-target="profile">
        <i class="fas fa-user"></i>
        <span>我的</span>
    </div>
</div>
<script>
    // 页面切换函数
    function switchPage(pageId) {
        // 隐藏所有页面
        document.querySelectorAll('.page').forEach(page => {
            page.classList.remove('active');
        });

        // 显示目标页面
        document.getElementById(pageId).classList.add('active');
    }

    // 底部导航切换
    document.querySelectorAll('.nav-item').forEach(item => {
        item.addEventListener('click', function() {
            const target = this.getAttribute('data-target');
            switchPage(target);

            // 更新底部导航激活状态
            document.querySelectorAll('.nav-item').forEach(nav => {
                nav.classList.remove('active');
            });
            this.classList.add('active');
        });
    });
</script>
</body>
</html>